﻿using HuiLian.Cloud.ViewModel;
using HuiLian.Cloud.View;
using HuiLian.Cloud.ViewModel.Base;
using HuiLian.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace HuiLian.Cloud.ViewModel
{
    public class OrderItemWindowViewModel : ViewModelBase
    {
        private List<OrderItem> items = new List<OrderItem>()
        {
            new OrderItem(){ Id=1, Name="老婆饼", Number="001", Count=1, Money=12.3 },
            new OrderItem(){ Id=2, Name="老公饼", Number="002", Count=2, Money=12.3 },
            new OrderItem(){ Id=3, Name="女儿饼", Number="003", Count=2, Money=12.3 },
            new OrderItem(){ Id=4, Name="儿子饼", Number="004", Count=10, Money=12.3 }
        };

        public List<OrderItem> Items { get { return items; } set { items = value; OnPropertyChanged("Items"); } }
    }
}
